<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link rel="stylesheet" type="text/css" href="view/default.css"/>
	<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
	<jsp:include page="head.html"/>
	<title>myScheduleChange</title>
</head>
<body>
	<!-- Form zur Speichern der Registrierung -->
	<div class="register">
		<form method="post" action="">
	
		<table style="width: 100%">
			<tr>
				<td colspan="3">Zur erfolgreichen Registrierung musst du Dich mit deiner FH-Email Adresse regj
				istrieren</td>
			</tr>
			<tr>
				<td><label id="label_username">FH-Email Adresse:</label></td>
				<td><input name="username" type="text" /></td>
				<td><label id="Label1">@stud.fh-deggendorf.de</label></td>
			</tr>
			<tr>
				<td>Passwort:</td>
				<td style="width: 113px">
				<input name="Password1" type="password" /></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td>Passwort wiederholen:</td>
				<td>
				<input name="Password2" type="password" /></td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td>Studiengang:</td>
				<td >
					<!-- Dynamisches Dropdown Menü zur Auswahl des Studiengangs -->
					<select name="Studiengang" id="studiengang" onchange='OnChange(this.form.Studiengang);' >
						<option value="0">Waehle den Studiengang</option>
						<!-- Schleife durchläuft alle Studiengangsbjekte und zeigt den Namen im Dropdownmenü an -->
						<c:forEach items="${studiengaenge}" var="studiengang">
							<option value="${studiengang.idStudiengang}"><c:out value="${studiengang.name}"/></option>
						</c:forEach>	 
					</select>
				</td>
				<td>&nbsp;</td>
			</tr>
		</table>
	
		</form>

	</div>

</body>
</html>